const Article = require('./models/article.js');
const { sequelize } = require('./db/mysql.js');

// `sequelize.define` also returns the model
console.log(Article === sequelize.models.Article); // true